﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Entities
{
    /// <summary>
    /// Represents alls information about relation bettwen Role and Function
    /// </summary>
    public class RoleFunctionRelation
    {
        #region Variable Private
        private byte _roleID;
        private byte _functionID; 
        #endregion

        #region Properties Public
        public byte RoleID
        {
            get { return _roleID; }
            set { _roleID = value; }
        }
        public byte FunctionID
        {
            get { return _functionID; }
            set { _functionID = value; }
        } 
        #endregion

        #region Constructor
        public RoleFunctionRelation() { }
        public RoleFunctionRelation(byte roleId, byte funcId)
        {
            this.RoleID = roleId;
            this.FunctionID = funcId;
        } 
        #endregion
    }
}
